<#include "../../page.ftl" />
<table class="table table-datatable table-gray">
    <thead>
    <tr>
        <th>年</th>
        <th>类型</th>
        <th>一月</th>
        <th>二月</th>
        <th>三月</th>
        <th>四月</th>
        <th>五月</th>
        <th>六月</th>
        <th>七月</th>
        <th>八月</th>
        <th>九月</th>
        <th>十月</th>
        <th>十一月</th>
        <th>十二月</th>

    </tr>
    </thead>
    <tbody>
    <#if ambVipsTable.rows??>
        <#list ambVipsTable.rows as ambVip>
        <tr>
            <#if (ambVip.viptype)!='保有量'>
                <td>${ambVip.nian!''}</td>
                <td>${ambVip.viptype!''}</td>
                <td>${ambVip.jan!''}</td>
                <td>${ambVip.feb!''}</td>
                <td>${ambVip.mar!''}</td>
                <td>${ambVip.apr!''}</td>
                <td>${ambVip.may!''}</td>
                <td>${ambVip.jun!''}</td>
                <td>${ambVip.jul!''}</td>
                <td>${ambVip.aug!''}</td>
                <td>${ambVip.sep!''}</td>
                <td>${ambVip.oct!''}</td>
                <td>${ambVip.nov!''}</td>
                <td>${ambVip.dece!''}</td>
            <#else>
                <td>${ambVip.nian!''}</td>
                <td>${ambVip.viptype!''}</td>
                <td>
                    <a href="#" onclick="bylMxb('2016-01-01','2016-01-31')">${ambVip.jan!''} </a></td>
                <td><a href="#" onclick="bylMxb('2016-02-01','2016-02-29')">    ${ambVip.feb!''}    </a></td>
                <td><a href="#" onclick="bylMxb('2016-03-01','2016-03-31')">    ${ambVip.mar!''}    </a></td>
                <td><a href="#" onclick="bylMxb('2016-04-01','2016-04-30')">    ${ambVip.apr!''}    </a></td>
                <td><a href="#" onclick="bylMxb('2016-05-01','2016-05-31')">    ${ambVip.may!''}    </a></td>
                <td><a href="#" onclick="bylMxb('2016-06-01','2016-06-30')">    ${ambVip.jun!''}    </a></td>
                <td><a href="#" onclick="bylMxb('2016-07-01','2016-07-31')">    ${ambVip.jul!''}    </a></td>
                <td><a href="#" onclick="bylMxb('2016-08-01','2016-08-31')">    ${ambVip.aug!''}    </a></td>
                <td><a href="#" onclick="bylMxb('2016-09-01','2016-09-30')">    ${ambVip.sep!''}    </a></td>
                <td><a href="#" onclick="bylMxb('2016-10-01','2016-10-31')">    ${ambVip.oct!''}    </a></td>
                <td><a href="#" onclick="bylMxb('2016-11-01','2016-11-30')">    ${ambVip.nov!''}    </a></td>
                <td><a href="#" onclick="bylMxb('2016-12-01','2016-12-31')">    ${ambVip.dece!''}    </a></td>

            </#if>  </tr>

        </#list>
    </#if>
    </tbody>
</table>
<#if ambVipsTable??>
    <@page table=ambVipsTable formId="search_ambVip_table"/>
</#if>